Reducing Waste in Expandable Collections: The Pharo CaseA first version of this paper was presented at the IWST workshop (http://www.esug.org/wiki/pier/Conferences/2014/IWST14), however no proceedings have been made (e.g., our IWST submission is not available to any Digital Library (IEEE or ACM)

نویسندگان

  • Alexandre Bergel
  • Alejandro Infante
  • Juan Pablo Sandoval
چکیده

Expandable collections are collections whose size may vary as elements are added and removed. Hash maps and ordered collections are popular expandable collections. Expandable collection classes offer an easy-to-use API, however this apparent simplicity is accompanied by a significant amount of wasted resources. We describe some improvements of the collection library to reduce the amount of waste associated with collection expansions. We have designed a new collection library for the Pharo programming language that exhibits better resource management than the standard library. Across a basket of 5 applications, our optimized collection library significantly reduces the memory footprint of the collections: (i) the amount of intermediary internal array storage by 73%, (ii) the number of allocated bytes by 67% and (iii) the number of unused bytes by 72%. This reduction of memory is accompanied with a speedup of about 3% for most of our benchmarks. We analyzed the collection implementations of Java, C#, Scala, and Ruby: these implementations largely behave as in Pharo’s, therefore suffering from the very same limitations. Our result are likely to benefit designers of future programming languages and collection libraries.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

First ACM Workshop on Hot Topics in Software Upgrades ( HotSWUp ’ 08 ) http : /

The First ACM SIGPLAN Workshop on Hot Topics in Software Upgrades (HotSWUp’08) was held on 20 October 2008 in Nashville, TN. The workshop was co-located with OOPSLA 2008 and was sponsored by SIGPLAN. The goal of HotSWUp is to identify cutting-edge research ideas for implementing software upgrades. Software upgrades introduce a tension between the necessity to run the latest software version and...

متن کامل

چهار دهه فعالیت علمی ایران از منظر مقالات همایش‌ها، مقالات پر استناد و داغ و مقالات دسترسی آزاد با نگاهی به قانون برنامه توسعه اقتصادی ، اجتماعی، فرهنگی کشور

This study aims to investigate Iran scientific production Pre-revolutionary by 2016 with the emphasis on the conferences proceedings, highly cited and hot papers, and open access papers, in the light of the Law of Economic, Social, and Cultural Development Plan of Iran. Descriptive – analytical method used. To achieve research objectives data extracted from Clarivate Analytics (Thomson Reuters)...

متن کامل

شاخص های طراحی و ارزیابی کتابخانه های دیجیتالی

Introduction: There was always suspicion regarding concept and frameworks of digital libraries concepts such as electronic library, virtual library, without wall library, hybrid library and digital library have applied often together, or for each other for conveying library concept. Studies have shown that so far there is no standard and universal accepted definition for digital libraries, howe...

متن کامل

Who? What? Where? A snapshot of Nuclear Medicine Research Presentations from recent ANZSNM conferences in Australia and New Zealand.

Objective(s): The aims of this study were to: 1) discover location (by city) of contributors to poster and oral presentations at recent ANZSNM conferences; 2) determine the nuclear medicine themes most commonly explored; 3) establish institutions producing the highest number of oral and poster abstracts and 4) determine publication rates of conference abstracts to full...

متن کامل

Using Calculation Fragments for Spreadsheet Testing and Debugging

This volume contains the papers presented at SEMS’15: Second Workshop on Software Engineering Methods in Spreadsheets held on May 18, 2015 in Florence, Italy, as part of the 37th International Conference on Software Engineering (ICSE). The workshop was organised by Felienne Hermans (TU Delft), Richard Paige (University of York) and Peter Sestoft (IT University of Copenhagen) as a result of thei...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015